package com.proton.carepatchtemp.utils.net.pair;


import com.proton.carepatchtemp.constant.Extras;

/**
 * Created by Api on 2016/9/21.
 */

public class ResultPair {
    private String name = Extras.RET_S;
    private String value = "";

    public ResultPair() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isSuccess() {
        return Extras.RET_S.equalsIgnoreCase(name);
    }
}
